package designpattern.struct.facade;

/**
 * 外观类
 *
 * @author cuihao
 * @date 2017/12/20
 */
public class Facade {

    private final SubSystemA subSystemA = new SubSystemA();
    private final SubSystemB subSystemB = new SubSystemB();
    private final SubSystemC subSystemC = new SubSystemC();

    public void methodA() {
        subSystemA.MethodA();
    }

    public void methodB() {
        subSystemB.MethodB();
    }

    public void methodC() {
        subSystemC.MethodC();
    }
}
